#ifndef QTIMAGE_HPP
#define QTIMAGE_HPP
#include "../src/output.hpp"
#include "color.hpp"
#include <QImage>

class Qtimage : public Output {
public:
	Qtimage(const unsigned int,const unsigned int);
	~Qtimage(void);

	virtual void set_pixel(unsigned int,unsigned int,const Color&);
	virtual void save_file(const char*);
	
	QImage* get_QImage(void) const;
private:
	QImage* image;
};

#endif

